
public class turkeyAdapter implements duck
{
        private turkey tk;

        public turkeyAdapter(turkey tk)
        {
                this.tk = tk;
        }

        public void GGuak()
        {
                tk.GooGoo();
        }

        public void fly()
        {
                for(int i = 0; i < 5; i++)
                {
                        tk.fly();
                }
        }
}
